[INFO] fetching crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8...
[INFO] fixing jsph-tg-rcore-tutorial-ch5-smp-0.4.8 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8 into /workspace/builds/worker-2-tc1/source
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8
[INFO] finished tweaking crates.io crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8
[INFO] tweaked toml for crates.io crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jsph-tg-rcore-tutorial-ch5-smp 0.4.8 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jsph-tg-rcore-tutorial-kernel-alloc-smp v0.4.8
[INFO] [stderr]   Downloaded jsph-tg-rcore-tutorial-sbi-smp v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553
[INFO] running `Command { std: "docker" "start" "605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling indexmap v2.13.1
[INFO] [stderr]    Compiling tg-rcore-tutorial-linker v0.4.8
[INFO] [stderr]     Checking numeric-enum-macro v0.2.0
[INFO] [stderr]     Checking page-table v0.0.6
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking customizable-buddy v0.0.3
[INFO] [stderr]     Checking tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking zero v0.1.3
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking xmas-elf v0.8.0
[INFO] [stderr]     Checking tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]     Checking tg-rcore-tutorial-kernel-vm v0.4.8
[INFO] [stderr]     Checking jsph-tg-rcore-tutorial-kernel-alloc-smp v0.4.8
[INFO] [stderr]     Checking tg-rcore-tutorial-kernel-context v0.4.8
[INFO] [stderr]     Checking tg-rcore-tutorial-task-manage v0.4.8
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking jsph-tg-rcore-tutorial-sbi-smp v0.4.8
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling jsph-tg-rcore-tutorial-ch5-smp v0.4.8 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:423:51
[INFO] [stdout]     |
[INFO] [stdout] 423 |     PORTAL_PTR.store(portal as *const _ as usize, Ordering::Release);
[INFO] [stdout]     |                                                   ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  35 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  35 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `satp` in this scope
[INFO] [stdout]    --> src/main.rs:673:14
[INFO] [stdout]     |
[INFO] [stdout] 673 |     unsafe { satp::set(satp::Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout]     |              ^^^^ use of unresolved module or unlinked crate `satp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `satp`, use `cargo add satp` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]  35 + use riscv::register::satp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `satp` in this scope
[INFO] [stdout]    --> src/main.rs:673:24
[INFO] [stdout]     |
[INFO] [stdout] 673 |     unsafe { satp::set(satp::Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout]     |                        ^^^^ use of unresolved module or unlinked crate `satp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `satp`, use `cargo add satp` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]  35 + use riscv::register::satp::Mode;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Mode`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 673 -     unsafe { satp::set(satp::Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout] 673 +     unsafe { satp::set(Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:625:1
[INFO] [stdout]     |
[INFO] [stdout] 625 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 626 | |     println!("{info}");
[INFO] [stdout] 627 | |     tg_sbi::shutdown(true)
[INFO] [stdout] 628 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`jsph_tg_rcore_tutorial_ch5_smp`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jsph-tg-rcore-tutorial-ch5-smp` (bin "jsph-tg-rcore-tutorial-ch5-smp" test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:423:51
[INFO] [stdout]     |
[INFO] [stdout] 423 |     PORTAL_PTR.store(portal as *const _ as usize, Ordering::Release);
[INFO] [stdout]     |                                                   ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  35 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  35 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `satp` in this scope
[INFO] [stdout]    --> src/main.rs:673:14
[INFO] [stdout]     |
[INFO] [stdout] 673 |     unsafe { satp::set(satp::Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout]     |              ^^^^ use of unresolved module or unlinked crate `satp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `satp`, use `cargo add satp` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]  35 + use riscv::register::satp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `satp` in this scope
[INFO] [stdout]    --> src/main.rs:673:24
[INFO] [stdout]     |
[INFO] [stdout] 673 |     unsafe { satp::set(satp::Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout]     |                        ^^^^ use of unresolved module or unlinked crate `satp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `satp`, use `cargo add satp` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout]  35 + use riscv::register::satp::Mode;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Mode`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 673 -     unsafe { satp::set(satp::Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout] 673 +     unsafe { satp::set(Mode::Sv39, 0, space.root_ppn().val()) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/main.rs:804:53
[INFO] [stdout]     |
[INFO] [stdout] 804 |         fn write(&self, _caller: Caller, fd: usize, buf: usize, count: usize) -> isize {
[INFO] [stdout]     |                                                     ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/main.rs:842:52
[INFO] [stdout]     |
[INFO] [stdout] 842 |         fn read(&self, _caller: Caller, fd: usize, buf: usize, count: usize) -> isize {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/main.rs:906:41
[INFO] [stdout]     |
[INFO] [stdout] 906 |         fn exec(&self, _caller: Caller, path: usize, count: usize) -> isize {
[INFO] [stdout]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/main.rs:906:54
[INFO] [stdout]     |
[INFO] [stdout] 906 |         fn exec(&self, _caller: Caller, path: usize, count: usize) -> isize {
[INFO] [stdout]     |                                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pid`
[INFO] [stdout]    --> src/main.rs:943:41
[INFO] [stdout]     |
[INFO] [stdout] 943 |         fn wait(&self, _caller: Caller, pid: isize, exit_code_ptr: usize) -> isize {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_pid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exit_code_ptr`
[INFO] [stdout]    --> src/main.rs:943:53
[INFO] [stdout]     |
[INFO] [stdout] 943 |         fn wait(&self, _caller: Caller, pid: isize, exit_code_ptr: usize) -> isize {
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exit_code_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/main.rs:984:42
[INFO] [stdout]     |
[INFO] [stdout] 984 |         fn spawn(&self, _caller: Caller, path: usize, count: usize) -> isize {
[INFO] [stdout]     |                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]    --> src/main.rs:984:55
[INFO] [stdout]     |
[INFO] [stdout] 984 |         fn spawn(&self, _caller: Caller, path: usize, count: usize) -> isize {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]     --> src/main.rs:1020:41
[INFO] [stdout]      |
[INFO] [stdout] 1020 |         fn sbrk(&self, _caller: Caller, size: i32) -> isize {
[INFO] [stdout]      |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tp`
[INFO] [stdout]     --> src/main.rs:1065:69
[INFO] [stdout]      |
[INFO] [stdout] 1065 |         fn clock_gettime(&self, _caller: Caller, clock_id: ClockId, tp: usize) -> isize {
[INFO] [stdout]      |                                                                     ^^ help: if this is intentional, prefix it with an underscore: `_tp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]     --> src/main.rs:1102:13
[INFO] [stdout]      |
[INFO] [stdout] 1102 |             addr: usize,
[INFO] [stdout]      |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]     --> src/main.rs:1103:13
[INFO] [stdout]      |
[INFO] [stdout] 1103 |             len: usize,
[INFO] [stdout]      |             ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prot`
[INFO] [stdout]     --> src/main.rs:1104:13
[INFO] [stdout]      |
[INFO] [stdout] 1104 |             prot: i32,
[INFO] [stdout]      |             ^^^^ help: if this is intentional, prefix it with an underscore: `_prot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]     --> src/main.rs:1162:43
[INFO] [stdout]      |
[INFO] [stdout] 1162 |         fn munmap(&self, _caller: Caller, addr: usize, len: usize) -> isize {
[INFO] [stdout]      |                                           ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]     --> src/main.rs:1162:56
[INFO] [stdout]      |
[INFO] [stdout] 1162 |         fn munmap(&self, _caller: Caller, addr: usize, len: usize) -> isize {
[INFO] [stdout]      |                                                        ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jsph-tg-rcore-tutorial-ch5-smp` (bin "jsph-tg-rcore-tutorial-ch5-smp") due to 3 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553", kill_on_drop: false }`
[INFO] [stdout] 605b0ce30bd1fe12cf452b2bc9619a713eb566d4bdbbbe6334a6f66858c0e553
